package cn.edu.cxcyzx.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import cn.edu.cxcyzx.entity.StuAndGroup;
import cn.edu.cxcyzx.entity.Student;
import cn.edu.cxcyzx.supervisor.ResultDo;



public interface StudentService {
	
	
	public void updateStu(Student stu);
	
	@Transactional
	public ResultDo<String> insertStu(Student stu);
	
	/**
	 * 获得所有学生的信息
	 * @return
	 */
	public ResultDo<List<Student>> getAllStudent(String stuName);

	public ResultDo<Student> getStu_byStuId(String stuId);
	
	public String getStuName(String stuId);
	
}
